package jjoms.model.member;

import java.util.HashMap;
import java.util.List;

import jjoms.model.item.MessageVO;

public interface MemberDAO {
	public MemberVO login(MemberVO vo);
	public String getGrade(String memberId); // 회원 등급을 받아온다.
	public int idcheck(String memberId);
	public void registerMember(MemberVO vo);
	public MemberVO findMemberById(String memberId);
	public void updateMember(MemberVO vo);
	public List<MemberVO> getAllMemberList();
	public void deleteMember(String memberId);
	public String findId(String memberName, String phone);
	public MemberVO findPassword(String memberId);
	public void updateMemberMoney(HashMap map);
	public List<String> getAllManagerList();
	public List<MessageVO> getMessageBySender(String memberId);
	public List<MessageVO> getMessageByReceiver(String memberId);
	public void updateSenderCheck(int messageNo);
	public void updateReceiverCheck(int messageNo);
	public void deleteSenderReceiverCheck(int messageNo);
	public void updateSellAuthority(String memberId);
	public void passAuthorityMember(String memberId);
	
}
